mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Some tuning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6884 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b92af21eb0
commit
bfb4ddeb88
5 changed files with 67 additions and 18 deletions
|
@ -209,8 +209,13 @@ printf("oneway %d\n", _F_ONEWAY);
|
|||
[NSConnection setDebug: 0];
|
||||
[NSDistantObject setDebug: 0];
|
||||
[NSPort setDebug: 0];
|
||||
for (j = 0; j < 10000; j++)
|
||||
for (i = 0; i < 10000; i++)
|
||||
{
|
||||
k = [p count];
|
||||
for (j = 0; j < k; j++)
|
||||
{
|
||||
id remote_peer_obj = [p objectAt: j];
|
||||
}
|
||||
[p echoObject: localObj];
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,10 @@
|
|||
}
|
||||
- objectAt: (unsigned)i
|
||||
{
|
||||
return [the_array objectAtIndex: i];
|
||||
if (i < [the_array count])
|
||||
return [the_array objectAtIndex: i];
|
||||
else
|
||||
return nil;
|
||||
}
|
||||
- print: (const char *)msg
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue