Skip to content

Commit e1f1ba1

Browse files
committed
Bump version and update README
1 parent 20e00dd commit e1f1ba1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This is a very simplistic parser for string values according to the [OSM opening hours specification][opening-hours-specification]. It is used in a number of OpenStreetMap projects, for example
66
in [Vespucci](https://github.com/MarcusWolschon/osmeditor4android). As the opening hours specification is currently reasonably stable you shouldn't expect lots of activity in this repository.
77

8-
It parses 147'209 (91%) of 161'265 unique test strings in non-strict mode. The remaining 14'056 are likely valid errors, spot checking shows that they have obvious issues. In strict mode a further 15'993 fail (total 30'072).
8+
It parses 147'247 (91%) of 161'265 unique test strings in non-strict mode. The remaining 14'018 are likely valid errors, spot checking shows that they have obvious issues. In strict mode a further 16'786 fail (total 30'804).
99

1010
"in the wild" there are currently 3.4 million opening hour values in OSM, of these we successfully parse 99.1%, leaving 31'000 that fail (in non-strict mode). Parsing a single value successfully on a 15 year old PC (slower than a modern mobile phone for these kind of workloads) takes on average 0.05 ms, or put differently we can easily parse 20'000 values per second in a single thread. Parsing a non-compliant value takes 0.1 ms on average, this is somewhat slower as we restart parsing, potentially multiple times, to determine as many issues as possible in one go. This could certainly be sped up by not using a parser generator and manually coding, however given that it takes just 3 minutes to parse all above mentioned 3.4 million values, and in real life scenarios many other factors will dominate the run time, this would be a substantial waste of time.
1111

@@ -54,7 +54,7 @@ try {
5454
}
5555
```
5656

57-
Detailed documentation can be found in the [JavaDoc](http://www.javadoc.io/doc/ch.poole/OpeningHoursParser/0.28.2).
57+
Detailed documentation can be found in the [JavaDoc](http://www.javadoc.io/doc/ch.poole/OpeningHoursParser/0.29.0).
5858

5959

6060
## Including in your project
@@ -70,7 +70,7 @@ repositories {
7070

7171
``` groovy
7272
dependencies {
73-
compile "ch.poole:OpeningHoursParser:0.28.2"
73+
compile "ch.poole:OpeningHoursParser:0.29.0"
7474
}
7575
```
7676

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ apply plugin: 'signing'
2626
apply plugin: "jacoco"
2727
apply plugin: "com.github.breadmoirai.github-release"
2828

29-
version = '0.28.2'
29+
version = '0.29.0'
3030

3131
java {
3232
sourceCompatibility = JavaVersion.VERSION_1_8

0 commit comments

Comments
 (0)