Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2432,7 +2432,7 @@ public ExprCode doGenCode(CodegenContext ctx) {
action.apply(
new Reference(i),
new Reference(leftElemValue, leftElemType, true),
// elemValue nullability check use isNullAt inside action, so elemValueRef'nullable is
// elemValue nullability check uses isNullAt inside action, so elemValueRef's nullable is
// false.
new Reference(rightElemValue, rightElemType, false));
ExprCode elementExprCode = elemExpr.genCode(ctx);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public Code.ExprCode doGenCode(CodegenContext ctx) {
String i = freshNames[0];
String elemValue = freshNames[1];
String len = freshNames[2];
// elemValue is only used in notNullAction, so set elemValueRef'nullable to false.
// elemValue is only used in notNullAction, so set elemValueRef's nullable to false.
Reference elemValueRef = new Reference(elemValue, elemType);
Code.ExprCode notNullElemExprCode =
notNullAction.apply(new Reference(i), elemValueRef).genCode(ctx);
Expand Down
6 changes: 3 additions & 3 deletions python/pyfory/_serialization.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ cdef class TypeInfo:
for python `int`: `Int8/1632/64/128Serializer` for `int8/16/32/64/128` each, and another
`IntSerializer` for `int` which will dispatch to different `int8/16/32/64/128` type
according the actual value.
We do not get the acutal type here, because it will introduce extra computing.
We do not get the actual type here, because it will introduce extra computing.
For example, we have want to get actual `Int8/16/32/64Serializer`, we must check and
extract the actutal here which will introduce cost, and we will do same thing again
extract the actual here which will introduce cost, and we will do same thing again
when serializing the actual data.
"""
cdef public object cls
Expand Down Expand Up @@ -1555,7 +1555,7 @@ cdef inline get_next_element(
typeinfo = type_resolver.read_typeinfo(buffer)
cdef int32_t type_id = typeinfo.type_id
# Note that all read operations in fast paths of list/tuple/set/dict/sub_dict
# ust match corresponding writing operations. Otherwise, ref tracking will
# must match corresponding writing operations. Otherwise, ref tracking will
# error.
if type_id == <int32_t>TypeId.STRING:
return buffer.read_string()
Expand Down
Loading