Chris Bandy
|
0575a3cfd7
|
Start with a slice large enough for the minimum version
Closes #12
|
11 years ago |
Benedikt Lang
|
907ae8488a
|
Remove unnecessary constants and range checks
|
11 years ago |
Chris Bandy
|
35e41ad4ee
|
Use byte slice to build Version string
Closes #11
|
11 years ago |
Chris Bandy
|
fa1b4b2f13
|
Simplify parsing by using more slices
Closes #7
|
11 years ago |
Benedikt Lang
|
61fed1c667
|
Add additional compare helpers
|
11 years ago |
Benedikt Lang
|
c8864c2e3e
|
Change to value arguments
|
11 years ago |
Benedikt Lang
|
0d739aeb6a
|
Remove unnecessary pointer arguments
Resolves #6
|
11 years ago |
Justin LeFebvre
|
50c0e52521
|
much simpler logic without requiring a branch condition
|
12 years ago |
Justin LeFebvre
|
b5ecf012db
|
really minor change to the logic here
|
12 years ago |
Benedikt Lang
|
0f7f01176b
|
Remove constants export
|
12 years ago |
Justin LeFebvre
|
30bbe0b4a7
|
there is no need to use a bytes buffer when string slices are efficient enough. This is especially true since the version strings are guaranteed to be sufficiently small
|
12 years ago |
Benedikt Lang
|
ab6403b31a
|
Hide constants
|
12 years ago |
Benedikt Lang
|
e030971c62
|
Check for leading zeroes
|
12 years ago |
Benedikt Lang
|
58fd7ff9c3
|
README, examples, benchmarks
|
12 years ago |
Benedikt Lang
|
6bee9cf8c9
|
Add validation, further tests, compare helpers
|
12 years ago |
Benedikt Lang
|
a76e16a4c7
|
Full working set, missing some tests
|
12 years ago |
Benedikt Lang
|
d2e12bf84b
|
First draft
|
12 years ago |