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
{{ message }}
Repository navigation
Review whether to Retire Binary Public Facing APIs. #445
Consumers are likely to have to convert from text formats such as PBN anyway and the performance gains are likely to be very small. Keeping the binary types public also restricts what refactoring we can do without creating a breaking change.
I do, however believe that there are exceptions such as generating a large number of deals for simulations when the deal generator might return data in a binary format. I think we should also investigate if splitting the public API into a high and low level can achieve what we want. The high-level API would have a minimum number of public types that are unlikely to change. The low-level API would then expose the full set of binary types together with functions that take binary types. It would also include the required converters.
Consumers of the high-level API should be able to update without changing any code. Consumers of the low-level API might have to update their code if data types change.
Activity