You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
various operations on a Record may get called millions of times in a program. These should not be making value copies of the record. They should be operating on the Pointer to an existing Record.
Copied from original issue: FATHOM5/Seattle_Reasonable_Track2#28
The text was updated successfully, but these errors were encountered:
Calling Record.Distance which is required for every result in the search for two-vessel interactions means that there are millions of record copies being made to support this operation.
zacsketches
changed the title
All receivers (r *Record) need to operate on pointers not values
All receivers (rec Record) need to operate on pointers not values
Nov 24, 2018
From @zacsketches on November 15, 2018 12:18
various operations on a
Record
may get called millions of times in a program. These should not be making value copies of the record. They should be operating on the Pointer to an existing Record.Copied from original issue: FATHOM5/Seattle_Reasonable_Track2#28
The text was updated successfully, but these errors were encountered: