Commits

Author Commit Message Labels Comments Date
Thomas Hebert
Close branch mastohhh/good-string-comparison-method-1371659786203
Branches
mastohhh/good-string-comparison-method-1371659786203
Thomas Hebert
Merged in mastohhh/good-string-comparison-method-1371659786203 (pull request #1)
Thomas Hebert
good string comparison method
Branches
mastohhh/good-string-comparison-method-1371659786203
Peter Hosey
This should be an NSInteger, not an NSTimeInterval. Thanks to Rudy Richter for bringing this to my attention.
Peter Hosey
Added tag 0.6 for changeset 37825820b1c1
Peter Hosey
Updated copyright year range in license.
Tags
0.6
Peter Hosey
Updated README for 0.6.
Peter Hosey
Added a method to drop the cache if you get a memory warning.
Peter Hosey
Cache time zones by offset. Gets another speed-up of about 1.5×, and makes this now faster than C stdlib.
Peter Hosey
State our units.
Peter Hosey
Announce which one we're timing before we run it.
Peter Hosey
Two calendars are better than one.
Peter Hosey
Oh yeah. Let's not leak the calendar while we're at it.
Peter Hosey
Another 5× speed-up: Create and always use a single calendar per date formatter, instead of creating them and throwing them away, and make sure it always has our default time zone.
Peter Hosey
Added some sleeps so I'm better able to see the phases' starts and ends in Instruments's timeline.
Peter Hosey
Made this almost ten times as fast by holding onto the date formatter we use for unparsing.
Peter Hosey
Added a program that times the ISO 8601 date formatter against C standard library date parsing and unparsing. Inspired by [1].
Peter Hosey
Change the minutes over to use precision the same as the hour does, for consistency with the hours. References #4.
Peter Hosey
Fixed #4 by amending the time string format to use a different method of zero-padding that is compatible, in Apple's implementation, with the + flag.
Peter Hosey
Beefed up the calendar-date unparser test with a couple of command-line arguments.
Peter Hosey
Also test negative hours. Works.
Peter Hosey
Added a function that tests a single-digit hour (which should be prefixed with both + and 0) in various formats.
Peter Hosey
Checking in a new test program.
Peter Hosey
Make the parser tester show parsed dates in GMT, not the local time zone.
Peter Hosey
Fix implicit-cast warnings by using the correct formatter and explicitly casting to its type.
Peter Hosey
Changed compiler to Clang.
Peter Hosey
Initialize more variables, fixing some warnings. Thanks to Sparks for this patch.
Peter Hosey
Fixed a couple of 64-to-32 warnings that occurred when building for i386.
Peter Hosey
More warnings.
Peter Hosey
Fix all warnings.
  1. Prev
  2. Next