kirilltitov / FDBSwift

FoundationDB client for Swift
MIT License
44 stars 4 forks source link

Make `FDBTuplePackable` methods more specific (and less general). More. #84

Closed kirilltitov closed 2 years ago

kirilltitov commented 2 years ago

Currently this protocol requires a very generic method name get (and _get) which is not good for readability, clarity and generally not swifty. Those methods should be renamed to be more FDB-specific.

Additional formatting cleanup should be done. And maybe the whole thing will be a few CPU ticks faster because of more inlinable methods.

Closes #55.