You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by ch...@apache.org on 2025/07/18 06:33:11 UTC
(fory-site) branch main updated (bae3c543 -> 5e78f787)
This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
from bae3c543 chore(docs): docs update (#286)
new f6a27356 🔄 synced local 'docs/guide/' with remote 'docs/guide/'
new 5e78f787 🔄 synced local 'docs/specification/' with remote 'docs/specification/'
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/guide/java_serialization_guide.md | 4 ++--
docs/specification/java_serialization_spec.md | 2 +-
docs/specification/xlang_serialization_spec.md | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org
(fory-site) 02/02: 🔄 synced local 'docs/specification/' with remote 'docs/specification/'
Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit 5e78f7871f2a994a2fef4657c47c7c24074a44cc
Author: chaokunyang <sh...@gmail.com>
AuthorDate: Fri Jul 18 06:33:07 2025 +0000
🔄 synced local 'docs/specification/' with remote 'docs/specification/'
---
docs/specification/java_serialization_spec.md | 2 +-
docs/specification/xlang_serialization_spec.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/specification/java_serialization_spec.md b/docs/specification/java_serialization_spec.md
index 3a8d4bbe..2aa12b5f 100644
--- a/docs/specification/java_serialization_spec.md
+++ b/docs/specification/java_serialization_spec.md
@@ -393,7 +393,7 @@ which will be encoded by elements header, each use one bit:
- If the collection has null, use the second bit `0b10` of the header to flag it. If ref tracking is enabled for this
element type, this flag is invalid.
- If the collection element types are not declared type, use the 3rd bit `0b100` of the header to flag it.
-- If the collection element types are different, use the 4rd bit `0b1000` header to flag it.
+- If the collection element types are different, use the 4th bit `0b1000` header to flag it.
By default, all bits are unset, which means all elements won't track ref, all elements are same type, not null and
the actual element is the declared type in the custom class field.
diff --git a/docs/specification/xlang_serialization_spec.md b/docs/specification/xlang_serialization_spec.md
index 58ac5778..66ced931 100644
--- a/docs/specification/xlang_serialization_spec.md
+++ b/docs/specification/xlang_serialization_spec.md
@@ -615,7 +615,7 @@ which will be encoded by elements header, each use one bit:
- If the elements have null, use the second bit `0b10` of the header to flag it. If ref tracking is enabled for this
element type, this flag is invalid.
- If the element types are not the declared type, use the 3rd bit `0b100` of the header to flag it.
-- If the element types are different, use the 4rd bit `0b1000` header to flag it.
+- If the element types are different, use the 4th bit `0b1000` header to flag it.
By default, all bits are unset, which means all elements won't track ref, all elements are same type, not null and
the actual element is the declared type in the custom type field.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org
(fory-site) 01/02: 🔄 synced local 'docs/guide/' with remote 'docs/guide/'
Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit f6a27356c3282760428e12f30ca6c8db56f75ac9
Author: chaokunyang <sh...@gmail.com>
AuthorDate: Fri Jul 18 06:33:06 2025 +0000
🔄 synced local 'docs/guide/' with remote 'docs/guide/'
---
docs/guide/java_serialization_guide.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/guide/java_serialization_guide.md b/docs/guide/java_serialization_guide.md
index 3d190718..deb32f0d 100644
--- a/docs/guide/java_serialization_guide.md
+++ b/docs/guide/java_serialization_guide.md
@@ -701,7 +701,7 @@ Note that this implementation provides better performance at the cost of flexibi
When implementing a serializer for a custom Map type, you must extend `MapSerializer` or `AbstractMapSerializer`. The key difference between these two is that `AbstractMapSerializer` can serialize a class which has a map-like structure but is not a java Map subtype.
-Similiar to collection serializer, this is a special parameter `supportCodegenHook` needs be configured:
+Similar to collection serializer, this is a special parameter `supportCodegenHook` needs be configured:
- When `true`:
- Enables optimized access to map elements and JIT compilation for better performance
@@ -710,7 +710,7 @@ Similiar to collection serializer, this is a special parameter `supportCodegenHo
- Recommended for most maps
- When `false`:
- - Uses interfaced-based element access and dynamic serializer dispatch for elements, which have higer cost
+ - Uses interfaced-based element access and dynamic serializer dispatch for elements, which have higher cost
- More flexible for custom map types
- Required when map has special serialization needs
- Handles complex map implementations
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org