aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/test/java/com/yahoo/text
Commit message (Collapse)AuthorAgeFilesLines
* Use code point count for truncate as welljonmv2023-10-201-20/+3
|
* Avoid cutting surrogate pairs when tokenisingjonmv2023-10-201-1/+21
|
* Update copyrightJon Bratseth2023-10-0925-25/+25
|
* Handle the exception that will come when codepoints < 'from' < len.Henning Baldersheim2023-09-181-0/+1
| | | | Already done and tested for 'to'.
* - Add utility to do substring extraction by codepoints, instead of java ↵Henning Baldersheim2023-09-151-0/+31
| | | | | | char index. - Test and use it in SubstringExpression in indeing language.
* Reduce the simple usage of guava where java has caught upHenning Baldersheim2022-11-302-175/+9
|
* Refactor to optimize for hot path.Henning Baldersheim2022-04-061-19/+21
| | | | | No reason to count characters when you already now there can only be one. Nor is there any reason to check for surrogates when there can be none.
* Update abi and split in hot/cold path.Henning Baldersheim2022-04-051-0/+44
|
* Defer public API decisionMartin Polden2022-01-281-1/+1
|
* Move SnippetGenerator to vespajlibMartin Polden2022-01-281-0/+59
|
* GC deprecated junit assertThat.Henning Baldersheim2021-12-213-24/+25
|
* Update 2020 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update 2019 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update 2018 copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-0722-22/+22
|
* Text.fmt -> Text.formatArne Juul2021-06-291-1/+1
|
* add convenience function wrapping "String.format(Locale.US, ...)"Arne Juul2021-06-291-0/+4
|
* Revert "Remove unused Utf8 methods"Harald Musum2020-10-051-4/+4
|
* Remove unused Utf8 methodsMartin Polden2020-10-051-4/+4
| | | | In-lined in the tests that used them.
* Remove custom Utf8.toBytes implementationMartin Polden2020-10-051-10/+41
| | | | `String` optimizations have caught up.
* Remove custom Utf8.toString implementationMartin Polden2020-10-021-0/+36
| | | | | | | | | | | | | | | | | | | `String::new` is now faster for both ASCII and Unicode strings: ``` Utf8::toString of ascii string took 132 ms String::new of ascii string took 59 ms Change = -55.30% Utf8::toString of unicode string took 410 ms String::new of unicode string took 280 ms Change = -31.71% ``` There's at least two reasons for this: * Java 9 introduced compact strings, which means that `String` is now backed by a byte array to reduce the memory footprint of ASCII strings. * Detection of Unicode strings may use HotSpot intrinsics.
* Avoid new dependency on jacksonHåkon Hallingstad2020-04-151-14/+41
|
* Update vespajlib/src/test/java/com/yahoo/text/JSONTest.javaHåkon Hallingstad2020-04-141-1/+1
| | | Co-Authored-By: Valerij Fredriksen <freva@users.noreply.github.com>
* Validate deserialization of flag dataHåkon Hallingstad2020-04-081-1/+63
|
* Trunkcate expressions in messagesJon Bratseth2020-02-251-0/+11
|
* Add/corect copyright headersJon Bratseth2020-01-031-0/+1
|
* Add a faster, but simpler pattern matcher. Builds tensoraddresses 5 times+ ↵Henning Baldersheim2019-12-131-0/+44
| | | | faster than the regex one.
* Allow extending beyond the last tensor dimensionJon Bratseth2019-07-021-22/+72
|
* Output intermediate graph with type info on errorJon Bratseth2019-07-012-82/+140
|
* Output the intermediate graphJon Bratseth2019-06-301-0/+82
|
* Java lowercasing speed has caught up and bypassed our own homegrown ↵Henning Baldersheim2019-06-141-8/+26
| | | | optimalization.
* Fix parsing of array query properties in JSON payloadJon Bratseth2019-03-071-0/+14
| | | | | | | | | These were translated to request properties by calling asString on the payload, which returns an empty value for arrays. toString returns the correct value. This also improves error messages for Slime JSON parsing of queries, and in general.
* Remove deprecated LanguageHacks.gjoranv2019-01-211-28/+0
|
* Remove deprecated DoubleParser.gjoranv2019-01-211-159/+0
|
* Remove deprecated DoubleFormatter with tests.gjoranv2019-01-212-329/+0
|
* Add copyright headerJon Bratseth2018-10-011-0/+1
|
* Ensure that you can not trick invalid characters past the text verification ↵Henning Baldersheim2018-09-191-4/+12
| | | | in stringfieldvalue.
* Fix author tag for SimonBjørn Christian Seime2018-07-051-1/+1
|
* mark obsolete classes as DeprecatedArne Juul2018-06-253-0/+3
|
* use standard methods in Double Parser and FormatterArne Juul2018-06-251-7/+7
| | | | | | * in newer Java versions there is no longer contention around the powers-of-5 tables in floating-point formatting and parsing, so we don't need to have our own implementation anymore.
* Remove usage of apis deprecated in Java 9.gjoranv2018-04-261-2/+3
|
* Add stripInvalidCharactersJon Bratseth2018-04-061-0/+41
|
* Nonfunctional changes onlyJon Bratseth2018-01-151-1/+2
|
* Update copyright headersJon Bratseth2017-06-1426-26/+26
|
* Revert "Update copyright headers"Jon Bratseth2017-06-1426-26/+26
|
* Update copyright headersJon Bratseth2017-06-1426-26/+26
|
* Revert "Copyright header"Jon Bratseth2017-06-1326-26/+26
|
* Copyright headerJon Bratseth2017-06-1326-26/+26
|
* Merge pull request #19 from yahoo/bratseth/use-github-name-in-authorHenning Baldersheim2016-06-176-6/+6
|\ | | | | Use github name in @author
| * Use github name in @authorJon Bratseth2016-06-166-6/+6
| |