Skip to content
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

Open
wants to merge 604 commits into
base: ansi
Choose a base branch
from
Open

Tdata4 #162

wants to merge 604 commits into from

Conversation

koch-t
Copy link
Contributor

@koch-t koch-t commented Jan 6, 2015

TODO:

@@ -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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rrrr_t ?

Copy link
Contributor Author

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" notifications@github.com 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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rtime_t :)

@koch-t koch-t mentioned this pull request Feb 25, 2015
skinkie and others added 26 commits March 6, 2015 20:23
…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
skinkie and others added 30 commits September 16, 2015 06:54
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants