Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gnumeric
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
369
Issues
369
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
ba01d532
Commit
ba01d532
authored
Oct 05, 1999
by
Arturo Tena/libole2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed little bug.
parent
afc9dad4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
plugins/excel/libole2/ChangeLog
plugins/excel/libole2/ChangeLog
+7
-0
plugins/excel/libole2/ms-ole.c
plugins/excel/libole2/ms-ole.c
+9
-4
No files found.
plugins/excel/libole2/ChangeLog
View file @
ba01d532
1999-10-5 Arturo Tena <arturo@directmail.org>
* ms-ole.c: Add a comment regarding check_stream performance issue
and fixed English typo.
(read_bb): Fixed bug: tried to mark an inexistent block as
unused.
1999-10-03 Jody Goldberg <jgoldberg@home.com>
* ms-ole.c (ms_ole_destroy) : Quick and dirty test to
...
...
plugins/excel/libole2/ms-ole.c
View file @
ba01d532
...
...
@@ -292,7 +292,7 @@ get_block_ptr (MsOle *f, BLP b, gboolean forwrite)
FAT "f". */
#define TRY_MARK_UNUSED_BLOCK(f,block,mark) { \
if (g_array_index ((f), BLP, (block)) != (mark)) { \
g_warning ("Tried to mark as unused the block %d which ha
ve
%d\n", \
g_warning ("Tried to mark as unused the block %d which ha
s
%d\n", \
(block), g_array_index ((f), BLP, (block))); \
} else { g_array_index ((f), BLP, (block)) = UNUSED_BLOCK; } }
...
...
@@ -539,9 +539,6 @@ read_bb (MsOle *f)
TRY_MARK_UNUSED_BLOCK
(
f
->
bb
,
visited_add_bbd_list
,
ADD_BBD_LIST_BLOCK
);
missing_bbds
=
numbbd
-
MAX_SIZE_BBD_LIST
;
if
(
missing_lps
%
(
MAX_SIZE_ADD_BBD_LIST
*
BB_BLOCK_SIZE
/
4
))
{
missing_bbds
++
;
}
for
(
lp
=
0
;
lp
<
missing_bbds
;
lp
++
)
{
if
((
lp
!=
0
)
&&
!
(
lp
%
(
MAX_SIZE_ADD_BBD_LIST
)))
{
/* This lp lives in the next add bbd list */
...
...
@@ -1578,6 +1575,14 @@ dump (guint8 const *ptr, guint32 len)
static
void
check_stream
(
MsOleStream
*
s
)
{
/* FIXME tenix
jody told me (1/oct/99) check_stream causes a performance issue:
"it is accounting for between 25 and 50 % of load ties."
"Its not an immediate issue. The code has been this way for a while.
The only reason I noticed is that I just finished donig some
streamlining of the engine and this pops up as the most expensive
operatiion (by a good margin) now." */
BLP
blk
;
guint32
idx
;
PPS
*
p
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment