Skip to content

Commit

Permalink
Factors out ArrayProcessor from DynamicCodec so it can be used by Aut…
Browse files Browse the repository at this point in the history
…oCodec.

Cleans up some remaining performance issues.
* Uses polymorphic dispatch for array processing instead of a big if-else
  block.
* Uses native array objects instead of unsafe offsets when performing array
  iteration where possible. This is faster.

PiperOrigin-RevId: 582085944
Change-Id: I89249f54db6a898305c4159392ec3e689965ef87
  • Loading branch information
aoeui authored and copybara-github committed Nov 13, 2023
1 parent d1c923f commit dfcb9ef
Show file tree
Hide file tree
Showing 3 changed files with 521 additions and 205 deletions.
Loading

0 comments on commit dfcb9ef

Please sign in to comment.