commit d7a50b9d9a8de447a4dec61219fd584e862095a3
Merge: 02ae418 5a6cda6
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Mon Oct 26 09:33:45 2020 +0900
Merge remote-tracking branch 'upstream/develop' into solution#1085-mpc
commit 02ae418a39cdd6d5bbdab7b900eb5169d80fa7e9
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Mon Oct 26 09:25:20 2020 +0900
Update: Loop demonstration
commit d84ae759892b2ab9fc10d8d434902fca10ee88c1
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Mon Oct 26 09:24:31 2020 +0900
Change: drop deserialized value -> reader.Skip()
commit 9b0d4a21a8824dc277a48ac63180e901b6f9890e
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Mon Oct 26 00:27:10 2020 +0900
Fix: remove unused boolean local variables
commit fdfabeb2f1fc8b87bc41419fb0ccaee2c354b98a
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Mon Oct 26 00:00:28 2020 +0900
Update: Make the same as Dynamic
commit bef4692e10cc47b137b7c647acb11feffb177206
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sun Oct 25 19:37:11 2020 +0900
Add test project
commit a8fac80ec561f476f122d35ad2cbcd831a955d41
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sun Oct 25 18:55:27 2020 +0900
Add types to sandbox
commit 6ffc3c309b6b47728e927799b574fc23b37fa2c8
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sun Oct 25 18:45:40 2020 +0900
Update: string-key mpc.exe
commit 44819e6d551961598c29fdab5aa0bf65d53ed0e6
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sun Oct 25 18:05:24 2020 +0900
Update: int-key mpc.exe
commit 0a2fef4d2f3ae7f568bd34a554792f006ec31275
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sun Oct 25 12:12:57 2020 +0900
Fix: var -> global::MessagePack.IFormatterResolver
commit 086aa11e7ce4fb0723014c8bda554104b3b38463
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sun Oct 25 12:05:21 2020 +0900
Fix: Line Feed
commit 39d3d0844848f1d742820e2786528baf2bd1627c
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sun Oct 25 12:03:37 2020 +0900
Fix: space
commit c57f423a49fed8e1c1b365310017a2ec382b5f07
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sun Oct 25 12:00:32 2020 +0900
Change: var to globall::
Revert: DepthStep position
Revert: }#> -> } #>
commit de6fd239491b3fb7aa373644a384a71772d23b43
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sat Oct 24 11:04:44 2020 +0900
fix CRLF
commit 4b6ae7c6089f7d6732691a0af7f1d93424ccaa95
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Sat Oct 24 10:59:50 2020 +0900
Change the format to decrease template part lines.
Change the iterator `i` type from `int` to `var`.
commit 95f41adff75a0ff605e760d5cdc485de10ee13be
Author: pCYSl5EDgo <pCYSl5EDgo@yahoo.co.jp>
Date: Fri Oct 23 21:03:54 2020 +0900
This is a cherry-pick of #1074.
This is a refactoring of int-key mpc.exe tt file.
* More performant (de)serialization of string-key type formatter.
FormatterTemplte : generates only int-key type formatter.
IFomatterTemplate : common method/property between FormatterTemplate and StringKeyFormatterTemplate.
CodeGenerator : objectFormatterTemplates is IFormatterTemplate[]
ShouldUseFormatterResolverHelper : Optimization of IFormatterResolver.
* fix: Should use formatter resolver when custom formatter is not defined and target type is not primitive type.
* code format fix: insert line.
* update: Add Comment for switch cases and if statemets for readability.
When ULong value consists purely of ASCII characters, 8 ascii chars are printed as a comment.
* update: Following the advise of neuecc. ____stringByteKeys[Number] is now ____stringByteKeys_[MemberName].
* Refactor: EmbedMemberAssignment split into method
* Code Format and delete unnecessary heap allocation
* Code Format
* fix global json
* Proper check for MessagePackObjectAttribute and multi cs files
* remove unused static field and add comment to display string key
* fix: Japanese header to English
* Merge master and fix conflicts
* Change the generated codes of sandbox.
* Use AutomataKeyGen.GetKey.
* Regenerate Sandbox
* Suppress warning
* Remove suppress warning.
* Less embed
* Make embedded byte sequence common.
* Fix: add brace
* Revert some unnecessary diffs to make the PR simpler
* Consolidate primitive lists and optimize `byte[]`
* Reorder Serialize and Deserialize
Fix format of StringKeyFormatterTemplate.tt
reader.Skip() optimization
C#9 Record preparation
* Fix: t4 auto gen Japanese to English
* Fix: t4 again
Co-authored-by: Andrew Arnott <andrewarnott@gmail.com>
This "unsafe" API accomplished skipping a single branch instruction, so most likely was not a significant perf win, yet added complexity to callers and code generators, and brought the risk that folks would call it inappropriately, leading to data corruption.
Closes#506