-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tdata4 #162
base: ansi
Are you sure you want to change the base?
Conversation
@@ -142,42 +160,59 @@ struct tdata { | |||
vehicle_journey_t *vjs; | |||
uint32_t *journey_patterns_at_stop; | |||
spidx_t *transfer_target_stops; | |||
uint8_t *transfer_dist_meters; | |||
uint16_t *transfer_durations; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rrrr_t ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Que?
On 7 Jan 2015 00:17, "Stefan de Konink" [email protected] wrote:
In tdata.h
#162 (diff):@@ -142,42 +160,59 @@ struct tdata {
vehicle_journey_t *vjs;
uint32_t *journey_patterns_at_stop;
spidx_t *transfer_target_stops;
- uint8_t *transfer_dist_meters;
- uint16_t *transfer_durations;
rrrr_t ?
—
Reply to this email directly or view it on GitHub
https://github.com/bliksemlabs/rrrr/pull/162/files#r22560327.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rtime_t :)
…ur of "usefull" values. Must not be used." This reverts commit 336a174.
Additionally move json_dump to RRRR_DEBUG.
Since nobody so far had the guts to properly fix the timezone problem when the timetable timezone != machine timezone
…mode. It seems that the __restrict substitute works for all major compilers.
when searching for one specific itinerary we can do so by smashing two sets of arrival and departure upon eachother and intersect our stop index.
We should have something that generates timetable4.dat based on dummy for correct scaffolding of tests. Just expecting a random timatable4.dat is probably not a good idea.
The compiler uses much faster instructions to zero-out the memory than our home-grown zero-out. Running bitset_clear 100 times on a bitset with 10 million bits takes about 0.05 seconds, with memset 0.015 seconds.
TODO: