Writers Parent

Writers Parent POM

Лицензия

Лицензия

MIT
Группа

Группа

com.github.marschall
Идентификатор

Идентификатор

writers-parent
Последняя версия

Последняя версия

0.2.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

Writers Parent
Writers Parent POM
Ссылка на сайт

Ссылка на сайт

https://github.com/marschall/writers
Система контроля версий

Система контроля версий

https://github.com/marschall/writers

Скачать writers-parent

Имя Файла Размер
writers-parent-0.2.0.pom 8 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.marschall/writers-parent/ -->
<dependency>
    <groupId>com.github.marschall</groupId>
    <artifactId>writers-parent</artifactId>
    <version>0.2.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.marschall/writers-parent/
implementation 'com.github.marschall:writers-parent:0.2.0'
// https://jarcasting.com/artifacts/com.github.marschall/writers-parent/
implementation ("com.github.marschall:writers-parent:0.2.0")
'com.github.marschall:writers-parent:pom:0.2.0'
<dependency org="com.github.marschall" name="writers-parent" rev="0.2.0">
  <artifact name="writers-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.marschall', module='writers-parent', version='0.2.0')
)
libraryDependencies += "com.github.marschall" % "writers-parent" % "0.2.0"
[com.github.marschall/writers-parent "0.2.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • writers
  • writers-benchmark

Writers Maven Central Javadocs

Implementations of java.io.Writer with different trade-offs.

java.io.OutputStreamWriter is very flexible and supports any encoding. However its use of sun.nio.cs.StreamEncoder can result in a noticeable overhead for small writes. It allocates a few temporary objects which for small writes can be noticeable. By addressing only special cases we can make optimizations based on different trade-offs.

Currently we only offer the following two classes:

  • com.github.marschall.writers.AsciiOutputStreamWriter, only supports US-ASCII.
    • does not allocate any objects
    • thread-safe
  • com.github.marschall.writers.BufferedAsciiOutputStreamWriter, only supports US-ASCII but also buffers like a java.io.BufferedOutputStream. This can result in more efficient writes than using com.github.marschall.writers.AsciiOutputStreamWriter with java.io.BufferedOutputStream.
    • does not allocate any objects beyond the initial byte[], the #write and #append methods do not allocate memory
    • uses bulk array copy methods on Java 9+
    • not thread-safe

This project requires Java 11.

Версии библиотеки

Версия
0.2.0
0.1.1
0.1.0