[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55437] Files in editor are reported as modifi
From: |
Andrew Janke |
Subject: |
[Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum() |
Date: |
Sun, 20 Jan 2019 19:41:02 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
Follow-up Comment #5, bug #55437 (project octave):
Here's a patch to try out the "munge with explicit time zone" approach: file
#46052: datevec-munge-strings-instead-of-TZ-env-var.patch. Lars, want to try
this out?
Negligible effect on parsing speed. Before:
>> bench_datenum
Parsed 5000 dates in 0.972425938 s, 194 usec per date
>> bench_datenum (50000)
Parsed 50000 dates in 9.472014904 s, 189 usec per date
After:
>> bench_datenum
Parsed 5000 dates in 0.983253002 s, 197 usec per date
>> bench_datenum (50000)
Parsed 50000 dates in 9.850703001 s, 197 usec per date
There was one test it broke when I tried it out. But that was for `eigs`,
which doesn't even use dates as far as I can tell. I suspect that was just an
existing intermittent failure cropping up.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55437>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(), Lars Kindermann, 2019/01/10
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(), Kai Torben Ohlhus, 2019/01/11
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(), Lars Kindermann, 2019/01/11
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(), Andrew Janke, 2019/01/11
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(), Lars Kindermann, 2019/01/12
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(), Andrew Janke, 2019/01/20
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(),
Andrew Janke <=
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(), Lars Kindermann, 2019/01/24
- [Octave-bug-tracker] [bug #55437] Files in editor are reported as modified while heavily parsing date strings with datenum(), Andrew Janke, 2019/01/24